<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<title>Cadastro de Usuários</title>
<script type="text/javascript" src="util.js"></script>
<script type="text/javascript" src="user-form.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<script type="text/javascript">

isNew = false;

FORM = "$user_form";

changeComponent = new Function("");
blurComponent = new Function("");
focusComponent = new Function("");


</script>
<body onload="initialize()">
<div class="control-panel-header-footer"> 
	<table style="width: 100%;">
	<tr>
		<td width="15%;">
			<img alt="logo" src="images/logo.png" style="width: 140px; height: 122px;"/>
		</td>
		<td width="65%;">
			<h1 class="main-title">Controle de Usuários</h1>
		</td>
		<td width="5%;">
			<img class="go-back-button" alt="Voltar" onclick="goBack()" src="images/back.png">
		</td>
	</table> 
</div>

<table>
	<tr>
		<td colspan="2">Cadastro de Usuários &nbsp <img id="img-new-user" class="new-user-img" alt="novo" src="images/new-user.png" style="display: none;" /></td>
	</tr>
	<tr>
		<td >Login:</td>
		<td  id="$login"></td>
	</tr>
	<tr>
		<td >Senha:</td>
		<td id="$pass"></td>
	</tr>
	<tr>
		<td >Nome:</td>
		<td  id="$name"></td>
	</tr>
	<tr>
		<td >Tipo de usuário</td>
		<td id="$type"></td>
	</tr>

</table>

<button id="btNew" onclick="setNew()">Novo</button>
<button id="btApply" disabled="disabled" onclick="apply()">Gravar</button>
<button id="btRemove" onclick="remove()">excluir</button>
<button id="btCancel" onclick="cancel()">cancelar</button>
<button id="btSelect" onclick="select()">buscar</button>

</body>

</html>